[INFO] fetching crate battery-savior 0.1.0...
[INFO] checking battery-savior-0.1.0 against try#34585ff556bad2462429cd3775623c743928a72f for pr-102593
[INFO] extracting crate battery-savior 0.1.0 into /workspace/builds/worker-0/source
[INFO] validating manifest of crates.io crate battery-savior 0.1.0 on toolchain 34585ff556bad2462429cd3775623c743928a72f
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--manifest-path" "Cargo.toml" "--no-deps", kill_on_drop: false }`
[INFO] started tweaking crates.io crate battery-savior 0.1.0
[INFO] finished tweaking crates.io crate battery-savior 0.1.0
[INFO] tweaked toml for crates.io crate battery-savior 0.1.0 written to /workspace/builds/worker-0/source/Cargo.toml
[INFO] crate crates.io crate battery-savior 0.1.0 already has a lockfile, it will not be regenerated
[INFO] running `Command { std: "/workspace/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "fetch" "--manifest-path" "Cargo.toml", kill_on_drop: false }`
[INFO] [stderr]     Blocking waiting for file lock on package cache
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "metadata" "--no-deps" "--format-version=1", kill_on_drop: false }`
[INFO] [stdout] c03209200af4740181311758da5af0bdd939b5eb0ff32dbeaa9e139865155f44
[INFO] running `Command { std: "docker" "start" "-a" "c03209200af4740181311758da5af0bdd939b5eb0ff32dbeaa9e139865155f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "inspect" "c03209200af4740181311758da5af0bdd939b5eb0ff32dbeaa9e139865155f44", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "c03209200af4740181311758da5af0bdd939b5eb0ff32dbeaa9e139865155f44", kill_on_drop: false }`
[INFO] [stdout] c03209200af4740181311758da5af0bdd939b5eb0ff32dbeaa9e139865155f44
[INFO] running `Command { std: "docker" "create" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/target:/opt/rustwide/target:rw,Z" "-v" "/var/lib/crater-agent-workspace/builds/worker-0/source:/opt/rustwide/workdir:ro,Z" "-v" "/var/lib/crater-agent-workspace/cargo-home:/opt/rustwide/cargo-home:ro,Z" "-v" "/var/lib/crater-agent-workspace/rustup-home:/opt/rustwide/rustup-home:ro,Z" "-e" "SOURCE_DIR=/opt/rustwide/workdir" "-e" "CARGO_TARGET_DIR=/opt/rustwide/target" "-e" "CARGO_INCREMENTAL=0" "-e" "RUST_BACKTRACE=full" "-e" "RUSTFLAGS=--cap-lints=forbid" "-e" "RUSTDOCFLAGS=--cap-lints=forbid" "-e" "CARGO_HOME=/opt/rustwide/cargo-home" "-e" "RUSTUP_HOME=/opt/rustwide/rustup-home" "-w" "/opt/rustwide/workdir" "-m" "1610612736" "--user" "0:0" "--network" "none" "ghcr.io/rust-lang/crates-build-env/linux@sha256:3d1cd00eb6e6ea2a7969240779edeaeff35b24be85036c63b883ba933028a15f" "/opt/rustwide/cargo-home/bin/cargo" "+34585ff556bad2462429cd3775623c743928a72f" "check" "--frozen" "--all" "--all-targets" "--message-format=json", kill_on_drop: false }`
[INFO] [stdout] cca34a09d514f213ddc57e86c4e0cfebd1e826907f8372aa333121b4756de741
[INFO] running `Command { std: "docker" "start" "-a" "cca34a09d514f213ddc57e86c4e0cfebd1e826907f8372aa333121b4756de741", kill_on_drop: false }`
[INFO] [stderr]    Compiling serde v1.0.142
[INFO] [stderr]    Compiling heck v0.4.0
[INFO] [stderr]    Compiling smallvec v1.9.0
[INFO] [stderr]    Compiling pkg-config v0.3.25
[INFO] [stderr]    Compiling version-compare v0.1.0
[INFO] [stderr]    Compiling proc-macro2 v1.0.43
[INFO] [stderr]    Compiling unicode-ident v1.0.3
[INFO] [stderr]    Compiling quote v1.0.21
[INFO] [stderr]    Compiling syn v1.0.99
[INFO] [stderr]    Compiling libc v0.2.127
[INFO] [stderr]    Compiling autocfg v1.1.0
[INFO] [stderr]    Compiling version_check v0.9.4
[INFO] [stderr]    Compiling futures-core v0.3.21
[INFO] [stderr]    Compiling futures-channel v0.3.21
[INFO] [stderr]    Compiling anyhow v1.0.60
[INFO] [stderr]    Compiling futures-task v0.3.21
[INFO] [stderr]    Compiling cfg-expr v0.10.3
[INFO] [stderr]     Checking pin-project-lite v0.2.9
[INFO] [stderr]    Compiling once_cell v1.13.0
[INFO] [stderr]    Compiling futures-util v0.3.21
[INFO] [stderr]     Checking pin-utils v0.1.0
[INFO] [stderr]     Checking bitflags v1.3.2
[INFO] [stderr]     Checking cfg-if v1.0.0
[INFO] [stderr]    Compiling proc-macro-error-attr v1.0.4
[INFO] [stderr]    Compiling proc-macro-error v1.0.4
[INFO] [stderr]    Compiling slab v0.4.7
[INFO] [stderr]    Compiling ucd-trie v0.1.4
[INFO] [stderr]    Compiling log v0.4.17
[INFO] [stderr]    Compiling memchr v2.5.0
[INFO] [stderr]    Compiling gio v0.15.12
[INFO] [stderr]    Compiling memoffset v0.6.5
[INFO] [stderr]     Checking futures-io v0.3.21
[INFO] [stderr]    Compiling lock_api v0.4.7
[INFO] [stderr]    Compiling parking_lot_core v0.9.3
[INFO] [stderr]    Compiling winapi v0.3.9
[INFO] [stderr]    Compiling gtk v0.15.5
[INFO] [stderr]    Compiling serde_derive v1.0.142
[INFO] [stderr]     Checking scopeguard v1.1.0
[INFO] [stderr]     Checking libloading v0.7.3
[INFO] [stderr]    Compiling tokio v1.20.1
[INFO] [stderr]     Checking cfg-if v0.1.10
[INFO] [stderr]     Checking lazy_static v1.4.0
[INFO] [stderr]     Checking signal-hook-registry v1.4.0
[INFO] [stderr]     Checking socket2 v0.4.4
[INFO] [stderr]     Checking mio v0.8.4
[INFO] [stderr]     Checking crossbeam-utils v0.6.6
[INFO] [stderr]     Checking num_cpus v1.13.1
[INFO] [stderr]     Checking regex-syntax v0.6.27
[INFO] [stderr]    Compiling windres v0.2.2
[INFO] [stderr]    Compiling ntapi v0.3.7
[INFO] [stderr]     Checking bytes v1.2.1
[INFO] [stderr]    Compiling cstr v0.2.10
[INFO] [stderr]     Checking atty v0.2.14
[INFO] [stderr]     Checking crossbeam-channel v0.3.9
[INFO] [stderr]     Checking async-thread v0.1.2
[INFO] [stderr]     Checking humantime v2.1.0
[INFO] [stderr]     Checking termcolor v1.1.3
[INFO] [stderr]     Checking windows v0.39.0
[INFO] [stderr]     Checking parking_lot v0.12.1
[INFO] [stderr]     Checking aho-corasick v0.7.18
[INFO] [stderr]    Compiling battery-savior v0.1.0 (/opt/rustwide/workdir)
[INFO] [stdout] error[E0432]: unresolved import `windres::Build`
[INFO] [stdout]  --> build.rs:1:5
[INFO] [stdout]   |
[INFO] [stdout] 1 | use windres::Build;
[INFO] [stdout]   |     ^^^^^^^^^^^^^^ no `Build` in the root
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stderr]     Checking wintrap v0.3.1
[INFO] [stdout] error[E0433]: failed to resolve: could not find `windows` in `os`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:2:14
[INFO] [stdout]   |
[INFO] [stdout] 2 | use std::os::windows::prelude::*;
[INFO] [stdout]   |              ^^^^^^^ could not find `windows` in `os`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]  --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:7:13
[INFO] [stdout]   |
[INFO] [stdout] 7 | use winapi::shared::minwindef::{
[INFO] [stdout]   |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:10:13
[INFO] [stdout]    |
[INFO] [stdout] 10 | use winapi::shared::ntdef::{LANG_NEUTRAL, LPCWSTR, LPWSTR, MAKELANGID, SUBLANG_DEFAULT};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:11:13
[INFO] [stdout]    |
[INFO] [stdout] 11 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:12:13
[INFO] [stdout]    |
[INFO] [stdout] 12 | use winapi::um::consoleapi::SetConsoleCtrlHandler;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:13:13
[INFO] [stdout]    |
[INFO] [stdout] 13 | use winapi::um::errhandlingapi::GetLastError;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:14:13
[INFO] [stdout]    |
[INFO] [stdout] 14 | use winapi::um::libloaderapi::GetModuleHandleW;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:15:13
[INFO] [stdout]    |
[INFO] [stdout] 15 | use winapi::um::processthreadsapi::GetCurrentThreadId;
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:16:13
[INFO] [stdout]    |
[INFO] [stdout] 16 | use winapi::um::winbase::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:20:13
[INFO] [stdout]    |
[INFO] [stdout] 20 | use winapi::um::winuser::{
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/lib.rs:36:13
[INFO] [stdout]    |
[INFO] [stdout] 36 | use winapi::shared::minwindef::{BOOL, DWORD, FALSE, LPARAM, LRESULT, TRUE, UINT, WPARAM};
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `shared` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/lib.rs:37:13
[INFO] [stdout]    |
[INFO] [stdout] 37 | use winapi::shared::windef::HWND;
[INFO] [stdout]    |             ^^^^^^ could not find `shared` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/lib.rs:38:13
[INFO] [stdout]    |
[INFO] [stdout] 38 | use winapi::um::wincon::{CTRL_BREAK_EVENT, CTRL_CLOSE_EVENT, CTRL_C_EVENT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0433]: failed to resolve: could not find `um` in `winapi`
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/lib.rs:39:13
[INFO] [stdout]    |
[INFO] [stdout] 39 | use winapi::um::winuser::{DefWindowProcW, WM_CLOSE, WM_QUIT};
[INFO] [stdout]    |             ^^ could not find `um` in `winapi`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:28:10
[INFO] [stdout]    |
[INFO] [stdout] 28 |         .encode_wide()
[INFO] [stdout]    |          ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no method named `encode_wide` found for struct `OsString` in the current scope
[INFO] [stdout]   --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:61:10
[INFO] [stdout]    |
[INFO] [stdout] 61 |         .encode_wide()
[INFO] [stdout]    |          ^^^^^^^^^^^ method not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error[E0599]: no function or associated item named `from_wide` found for struct `OsString` in the current scope
[INFO] [stdout]    --> /opt/rustwide/cargo-home/registry/src/github.com-1ecc6299db9ec823/wintrap-0.3.1/src/windows.rs:137:19
[INFO] [stdout]     |
[INFO] [stdout] 137 |         OsString::from_wide(unsafe { slice::from_raw_parts(buf as *const u16, size as usize) });
[INFO] [stdout]     |                   ^^^^^^^^^ function or associated item not found in `OsString`
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] error: aborting due to 17 previous errors
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] Some errors have detailed explanations: E0433, E0599.
[INFO] [stdout] 
[INFO] [stdout] For more information about an error, try `rustc --explain E0433`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `wintrap` due to 18 previous errors
[INFO] [stderr] warning: build failed, waiting for other jobs to finish...
[INFO] [stdout] error: aborting due to previous error
[INFO] [stdout] 
[INFO] [stdout] 
[INFO] [stdout] For more information about this error, try `rustc --explain E0432`.
[INFO] [stdout] 
[INFO] [stderr] error: could not compile `battery-savior` due to 2 previous errors
[INFO] running `Command { std: "docker" "inspect" "cca34a09d514f213ddc57e86c4e0cfebd1e826907f8372aa333121b4756de741", kill_on_drop: false }`
[INFO] running `Command { std: "docker" "rm" "-f" "cca34a09d514f213ddc57e86c4e0cfebd1e826907f8372aa333121b4756de741", kill_on_drop: false }`
[INFO] [stdout] cca34a09d514f213ddc57e86c4e0cfebd1e826907f8372aa333121b4756de741
